module.exports = {
    devServer:{
        open: process.platform === 'darwin',
        port:80,
        disableHostCheck: false,
        proxy: {
                    '/api':{
                        target: 'http://129.204.175.168:8080/autocomplete',
                        changeOrigin: true,
                        pathRewrite: {
                            '/api': ''
                        }
                    }
                }
    },
    baseUrl: "./",
    configureWebpack: {
        externals: {
            'AMap': 'AMap',
            vue: 'Vue',
            'element-ui': 'element-ui',
            'axios':'axios',
            'vue-router':'VueRouter',
            'mui':'mui'
        }
    }
};
